Skip to content

fix: overwriting of listchanged#1501

Open
Skip06 wants to merge 4 commits intomodelcontextprotocol:mainfrom
Skip06:fix/listchanged-overwrite
Open

fix: overwriting of listchanged#1501
Skip06 wants to merge 4 commits intomodelcontextprotocol:mainfrom
Skip06:fix/listchanged-overwrite

Conversation

@Skip06
Copy link

@Skip06 Skip06 commented Feb 8, 2026

Change description

  • I removed the automatic capability registration entirely which was overwriting the listChaged to true .
  • Now user has to explicitly pass this info

Motivation and Context

How Has This Been Tested?

  • I have only ran lint:all test:all not tested in a real application . but open to any suggestion .

Breaking Changes

  • I dont think any breaking changes . No breaking changes require . They just have to explicitly pass the tool.listChanged to a bool value.

Types of changes

  • [x ] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • [ x] I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@Skip06 Skip06 requested a review from a team as a code owner February 8, 2026 14:26
@changeset-bot
Copy link

changeset-bot bot commented Feb 8, 2026

⚠️ No Changeset found

Latest commit: 080a7c3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 8, 2026

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/client@1501

@modelcontextprotocol/server

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/server@1501

@modelcontextprotocol/express

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/express@1501

@modelcontextprotocol/hono

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/hono@1501

@modelcontextprotocol/node

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/node@1501

commit: 080a7c3

@Skip06
Copy link
Author

Skip06 commented Feb 8, 2026

@jspahrsummers i have attempted to solve the issue where listChanged was defaulting to true .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant